<template>
	<view v-html="content">
		
	</view>
</template>

<script>
	import {
		policy
	} from '@/api/common.js'
	export default{
		data(){
			return {
				content:"",
			}
		},
		onLoad(options) {
			if(options.type=='privacy'){
				uni.setNavigationBarTitle({
					title:'隐私政策'
				})
			}
			policy({
				type:options.type
			}).then(res=>{
				this.content = res.data.data.content;
			})
		}
	}
</script>

<style scoped lang="scss">
	
</style>